package com.item.service;

import com.item.dao.EssenceDownloadMapper;
import com.item.dao.model.EssenceDownload;
import com.item.dao.model.EssenceDownloadExample;
import java.util.List;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EssenceDownloadService {
    @Autowired
    private EssenceDownloadMapper essenceDownloadMapper;

    private static final Logger logger = Logger.getLogger(EssenceDownloadService.class);

    public int countByExample(EssenceDownloadExample example) {
        return this.essenceDownloadMapper.countByExample(example);
    }

    public EssenceDownload selectByPrimaryKey(String id) {
        return this.essenceDownloadMapper.selectByPrimaryKey(id);
    }

    public List<EssenceDownload> selectByExample(EssenceDownloadExample example) {
        return this.essenceDownloadMapper.selectByExample(example);
    }

    public int deleteByPrimaryKey(String id) {
        return this.essenceDownloadMapper.deleteByPrimaryKey(id);
    }

    public int updateByPrimaryKeySelective(EssenceDownload record) {
        return this.essenceDownloadMapper.updateByPrimaryKeySelective(record);
    }

    public int updateByPrimaryKey(EssenceDownload record) {
        return this.essenceDownloadMapper.updateByPrimaryKey(record);
    }

    public int deleteByExample(EssenceDownloadExample example) {
        return this.essenceDownloadMapper.deleteByExample(example);
    }

    public int updateByExampleSelective(EssenceDownload record, EssenceDownloadExample example) {
        return this.essenceDownloadMapper.updateByExampleSelective(record, example);
    }

    public int updateByExample(EssenceDownload record, EssenceDownloadExample example) {
        return this.essenceDownloadMapper.updateByExample(record, example);
    }

    public int insert(EssenceDownload record) {
        return this.essenceDownloadMapper.insert(record);
    }

    public int insertSelective(EssenceDownload record) {
        return this.essenceDownloadMapper.insertSelective(record);
    }
}